package com.abc.pro.ui;

import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;

import com.abc.pro.ui.phone.MainSlidingFragmentActivity;
import com.abc.pro186.BaseApplication;
import com.abc.pro186.R;

public class SplashScreenFragmentActivity extends FragmentActivity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setTheme(R.style.Theme_Sherlock_NoActionBar);

		setContentView(R.layout.splashscreen_layout);

		BaseApplication.getBaseHandler().postDelayed(new Runnable() {

			@Override
			public void run() {
				Intent intent = new Intent(getApplicationContext(), MainSlidingFragmentActivity.class);
				startActivity(intent);
				finish();
			}
		}, 500);
	}

}
